package com.borrowed.book.book.service;

import com.borrowed.book.book.domain.AddEvaluteInDto;
import com.borrowed.book.book.domain.SOrderEvalute;
import com.borrowed.book.book.domain.SelectEvaluteInDto;
import com.borrowed.book.book.domain.UpdEvaluteStatusInDto;

import java.util.List;

public interface EvaluteService {
    /**
     * 添加备注
     */
    void addOrderEvalute(AddEvaluteInDto param);
    /**
     * 更新评论状态
     */
    void updateEvaluteStatus(UpdEvaluteStatusInDto param);

    /**
     * 更新评论图片的状态
     * @param param
     */
    void updateEvaluteImageStatus(UpdEvaluteStatusInDto param);

    /**
     * 评论一览查询
     * @param param
     * @return
     */
    List<SOrderEvalute> selectOrderEvalute(SelectEvaluteInDto param);
}
